package com.mcxx.modules.system.dto;

import com.mcxx.modules.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
public class EventResultDTO extends BaseDTO {
    private static final long serialVersionUID = -1;
    
    @ApiModelProperty(value = "主键PK")
    private String id;
    
    @ApiModelProperty(value = "名称")
    private String name;
    
    @ApiModelProperty(value = "EVENT对象")
    private String event;
    
    @ApiModelProperty(value = "LISTENER对象")
    private String listener;
    
    @ApiModelProperty(value = "Event签名")
    private String signature;
    
    @ApiModelProperty(value = "业务类型")
    private String bizType;
    
    @ApiModelProperty(value = "状态（1成功2失败）")
    private Integer status;
    
    @ApiModelProperty(value = "接口参数")
    private String arguments;
    
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    
    @ApiModelProperty(value = "结束时间")
    private Date finishTime;
    
    @ApiModelProperty(value = "执行时长")
    private Long execTime;
    
    @ApiModelProperty(value = "异常信息")
    private String exception;

    
    private Integer operation = 1;
}
